package com.designpatterns.Decorator;

import org.apache.log4j.Logger;

/**
 * Created by 41579 on 2017/5/25.
 */
public class MockBufferedInputStream extends MockInputStreamDecorate{
    private static final Logger logger = org.apache.log4j.Logger.getLogger(MockBufferedInputStream.class);
    public MockBufferedInputStream(MockInputStream mockInputStream) {
        super(mockInputStream);
    }
    @Override
    public void read(){
        logger.info("buffered read...");
        super.read();
    }
}
